package com.fz.service;

import com.fz.entity.UserRole;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 存储用户和角色关联信息 服务类
 * </p>
 *
 * @author hyr
 * @since 2025-06-18
 */
public interface UserRoleService extends IService<UserRole> {
    boolean save(Long roleId, Long[] userIds);
    List<UserRole> getByRoleId(Long roleId);

}
